-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#552] Correct logic for choosing the CICD service #553
[#552] Correct logic for choosing the CICD service #553
Conversation
"later": .later | ||
] | ||
|
||
if let matchedCase = mappings[name] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can use guard
here 🙏
] | ||
|
||
let name = name.lowercased() | ||
if let matchedCase = mappings[name] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here 🙏
@@ -63,10 +73,12 @@ struct SetUpCICDService { | |||
fileManager.createDirectory(path: ".github/workflows") | |||
switch runnerType { | |||
case .macOSLatest: | |||
print("Configured to run on the latest macOS.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove print
fileManager.moveFiles(in: ".github/project_workflows", to: ".github/workflows") | ||
fileManager.removeItems(in: ".github/project_workflows") | ||
fileManager.removeItems(in: ".github/self_hosted_project_workflows") | ||
case .selfHosted: | ||
print("Configured to run on self-hosted.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove print
What happened 👀
Insight 📝
Proof Of Work 📹